<div class="page">
	<div class="pageContent">
		<form id="navigationAdd" type="post" action="/management/category/{parent_id}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
			<div class="pageFormContent" layoutH="57">
				<div class="unit">
					<label>目录类型：</label>
					<select name="sign" onchange="selectSign(this)" action="/management/sign" opText="${value}" opValue="${sign}" defSelValue="5">
					</select>
				</div>
				<div class="unit">
					<label>目录名称：</label>
					<input name="name" class="required" type="text" size="30" />
					<input type="hidden" name="category_id" value="${category_id}"/>
				</div>
				<div class="textareaBar">
					<label>目录描述：</label>
					<textarea name="description" cols="45" rows="5"></textarea>
				</div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit" class="ok">提交</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
				</ul>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript">
	function selectSign(op){
		//alert($(op.options[op.selectedIndex]).data("data"));
		$("#navigationAdd input[name=name]").val(op.options[op.selectedIndex].text).focus();
	}
</script>